<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>  
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>  
<%  
String path = request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  
%>  
  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
<html>  
<head>  
<base href="<%=basePath%>">  
  
<title>user list page</title>  
  
<meta http-equiv="pragma" content="no-cache">  
<meta http-equiv="cache-control" content="no-cache">  
<meta http-equiv="expires" content="0">  
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">  
<meta http-equiv="description" content="This is my page">  


</head>  
<body class="cbp-spmenu-push">  

    <form action="queryparinfo.action" method="post">  
        <table align="center">  
            <tr>  
                <td style="vertical-align: middle;">PARAMETER INFORMATION NAME  
                    <input type="text" style="width: 300px;height: 30px;font-size: 16px" name="queryText"  value="${searchText }"/>  
                    <input type="submit" value="Query" style="width: 100px;height: 30px;font-size: 16px"/>  
                     <a href="/4L1Z/jsp/addParinfo.jsp">添加</a> 
                      <a href="/4L1Z/jsp/main.jsp">返回</a>     
                </td>  
            </tr>  
        </table>  
    </form>  
      
    <table align="center" border="1" cellpadding="0" cellspacing="0" bordercolor="#3366cc">  
        <tr align="center" bgcolor="#3399cc" height="26px">  
            <td width="100">ParinfoID</td>  
            <td width="160">ParinfoName</td>  
            <td width="150">ParinfoValue</td>  
            <td width="150">SupParinfoID</td>  
            <td width="150">SupParinfoName</td>  
             <td width="120">EDIT/DELETE</td> 
        </tr>  
          
        <c:forEach var="parinfo" items="${parinfos }">  
            <tr align="center"  height="24px">  
                <td width="100">${parinfo.parinfoid}</td>  
                <td width="160">${parinfo.parinfoname}</td>  
                <td width="150">${parinfo.parinfovalue}</td>  
                <td width="150">${parinfo.supparinfoid}</td>  
                <td width="150">${parinfo.supparinfoname}</td>  
              <%--    <td width="150">${user.sex}</td>  --%> 
                <td width="120">  
                    <a href="editparinfo.action?param=0&parinfoid=${parinfo.parinfoid}">编辑</a>    
                    <a href="deleteparinfo.action?parinfoid=${parinfo.parinfoid}">删除</a>  
                </td>  
            </tr>  
        </c:forEach>  
    </table>  
</body>  
</html>  